package org.lc.cmd.connect.impl.util;

import org.lc.cmd.connect.CmdClientConfig;

public class JsonUtil {
    public static  <T> T parse(String json, Class<T> clazz) {
        return CmdClientConfig.defaultProvider.jsonUtil().parse(json, clazz);
    }

    public static String toJson(Object obj) {
        return CmdClientConfig.defaultProvider.jsonUtil().toJson(obj);
    }
}
